id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Boolean Expressionsandor2

prev  |  next  |  chance

Truth tables

def andor2(val1, val2):
    result = val1 or val2
    return result
Function Call  Return Value
andor2(True, True)
andor2(True, False)
andor2(False, True)
andor2(False, False)

Experiment with this code on Gitpod.io

⬅ Back